package recommenRatings.domain;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;

public class User {

	private String name;
	private String surname;
	private String address;
	private String phoneNumber;
	private String mobilePhone;
	private Date birthDate;
	private boolean gender;
	private String city;
	private String state;
	private String email;
	private String username;
	private String password;
	private Photo photo;
	private Collection<Message> messages;
	private Collection<Opinion> opinions;

	public User() {
		messages = new ArrayList<Message>();
		opinions = new ArrayList<Opinion>();
	}

	public User(String name, String surname, String address,
			String phoneNumber, String mobilePhone, Date birthDate,
			String email, String username, String password, boolean gender,
			String city, String state) {
		super();
		this.name = name;
		this.surname = surname;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.mobilePhone = mobilePhone;
		this.birthDate = birthDate;
		this.email = email;
		this.username = username;
		this.password = password;
		this.photo = photo;
		this.gender=gender;
		this.city=city;
		this.state=state;
	}

	public boolean getGender() {
		return gender;
	}

	public void setGender(boolean gender) {
		this.gender = gender;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Collection<Opinion> getOpinions() {
		return opinions;
	}

	public void setOpinions(Collection<Opinion> opinions) {
		this.opinions = opinions;
	}

	public User(String name, String surname, String address,
			String phoneNumber, String mobilePhone, Date birthDate,
			String email, String username, String password, Photo photo,
			Collection<Message> messages) {

		this.name = name;
		this.surname = surname;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.mobilePhone = mobilePhone;
		this.birthDate = birthDate;
		this.email = email;
		this.username = username;
		this.password = password;
		this.photo = photo;
		this.messages = messages;
	}

	public Photo getPhoto() {
		return photo;
	}

	public void setPhoto(Photo photo) {
		this.photo = photo;
	}

	public Collection<Message> getMessages() {
		return messages;
	}

	public void setMessages(Collection<Message> messages) {
		this.messages = messages;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public Date getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
